﻿
using System;
using sharpxbot.Plugins.Base;
namespace sharpxbot.Plugins.Registry
{
    /// <summary>
    /// Stores system information about plugin and its activation details
    /// </summary>
    public class PluginInfo
    {
        public IPlugin Plugin { get; set; }

        public DateTime? EnableDate { get; set; }

        public DateTime? DisableDate { get; set; }

        /// <summary>
        /// Gets value indicating whether given plugin is marked as enable by IPluginManager
        /// and can process messages 
        /// </summary>
        public bool IsEnabled { get; set; }
    }
}
